<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        body,
        ul,
        li,
        button,
        input,p {
            border: none;
            margin: 0;
            padding: 0;
        }

        body{
            background-color: #f4f4f4;
        }
        .topbar {
            height: 60px;
            background-color: #2e333f;
        }

        .wrapper {
            width: 1263px;

            margin: 0 auto;
        }

        a {
            line-height: 60px;
            color: white;
            text-decoration: none;
        }

        ul {
            list-style: none;
        }

        .logo {
            width: 188px;
            margin-top: 15px;
            margin-left: 10px;
        }
        .nav{
            width: 300px;
            margin-left: 10px
        }
        .nav li{
            float: left;
            padding: 0px 12px;
        }

        .search-bar{
            width: 720px;
        }
        .search{
            padding: 12px
        }
        .search select{
            width: 60px;
            height: 36px;
            border: none;
            border-right: 1px solid gray;
        }
        .search input{
            font-size: 20px;
            height: 36px;
        }
        .search button{
            width: 36px;
            height: 36px;
            background-image: url(../images/search.png)
        }

        

        .regist li{
            float: left;
            padding :0px 12px;
        }
       
       .regist img{

           border-radius: 14px;
           margin-top: 15px;
           float:right;
       }
        a:hover {
            color: orange
        }

        .fl {
            float: left
        }

        .fr {
            float: right
        }

        .clearchfix::after {
            content: 0;
            height: 0;
            display: block;
            visibility: hidden;
            line-height: 0;
            clear: both;
        }
    </style>

    <style>
        .mainbody{
            margin-top: 20px;
        }
        .mainbody .wrapper{
            width: 1205px;
            margin: 0 auto;
        }
        .title{
            height: 30px;
            background-color: white;
            margin: 15px 0px;
        }
        .title li{
            margin: 0px 15px;
            padding:0;
        }
        .title a{
            line-height: 30px;
            color: black;
        }
        .title a:hover{
            color:darkgreen;
            border-bottom: 2px solid darkgreen;
        }
        div.detail{
            width: 223px;
            height: 300px;
            border: 1px solid red;
        }
        .mainbody li{
            float: left;
            margin-right: 20px;
        }
        .mainbody ul li:last-child{
            margin-right: 0;
        }
        .className{
            font-size: 16px;
            margin: 6px ;
        }
        .classAut{
            color: grey;
            font-size: 14px;
            margin: 6px;
        }
        
        .Level{
            font-size: 12px;
            margin-top: 40px;
            padding:0px 6px;
        }
        .Level img{
            height: 16px;
        }
        .starNum{
            padding: 0px 6px;
        }
    
        .classMoney{
           margin-top: 80px
        }
        .new{
            padding:0 6px;
            font-weight: 900;
        }
        .old{
            margin:3px;
            font-size: 13px;
            color:grey;
            text-decoration: line-through;
        }
    </style>
</head>

<body>
    <!-- 顶部通栏 -->
    <div class="topbar">
        <div class="wrapper clearchfix">
            <!-- 第一个盒子 -->
            <div class="logo fl">
                <img src="../images/logo.png" alt="">
            </div>
            <!-- 第二个盒子 -->
            <div class="nav fl">
                <ul>
                    <li><a href="">精品课</a></li>
                    <li><a href="">微专业</a></li>
                    <li><a href="">下载APP</a></li>
                </ul>
            </div>
            <!-- 第三个盒子 -->
            <div class="search-bar clearchfix fr">
                <div class="search fl">
                    <select name="" id="" class="fl">
                        <option value="">课程</option>
                        <option value="">老师</option>
                    </select>
                    <input type="text" placeholder=" 搜索课程" class="fl">
                    <button class="fl"></button>
                </div>
                <div class="regist">
                    <ul>
                        <li><a href="">我的学习</a></li>
                        <li><a href="">消息</a></li>
                        <li><a href="">购物车</a></li>
                        <li><a href="">登录/注册</a></li>
                    </ul>
                    <img src="../images/small.jpg" alt="">
                </div>
            </div>
        </div>
    </div>
    <!-- 主题区 -->
    <div class = "mainbody">
        <div class = "wrapper">
            <div class="title">
                <ul>
                    <li><a href="">畅销</a></li>
                    <li><a href="">好评</a></li>
                    <li><a href="">标题</a></li>
                </ul>
            </div>
            <ul>
                <li>
                    <div class="detail d1">
                        <img src="../images/1.png" alt="">
                        <p class="className">秋叶office三合一</p>
                        <p class="classAut">幻方秋叶PPT</p>
                        <div class="Level">
                             <img src="../images/star.png" alt="" class = "fl">
                             <span class="starNum fl">1.5</span>
                             <p class="fl">(<span class="studiedNum ">5346</span>人学过)</p>
                        </div>
                        <div class="classMoney">
                            <p class="now fl"> ￥399.00 </p>
                            <p class="old fl"> ￥699.00 </p>
                        </div>

                    </div>
                </li>
                <li>
                    <div class="detail d2"></div>
                </li>
                <li>
                    <div class="detail d3"></div>
                </li>
                <li>
                    <div class="detail d4"></div>
                </li>
                <li>
                    <div class="detail d5"></div>
                </li>
            </ul>
        </div>
    </div>
</body>

</html>